package com.pyl.admin.system.validator;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * @author 灵魂贰婶
 * @date 2018/12/02
 */
@Data
public class DeptForm implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long id;

	@NotEmpty(message = "部门名称不能为空")
	private String title;

	@NotNull(message = "父级部门不能为空")
	private Long pid;

	private Integer sort;

	private String Pids;

}
